package com.qsl.ssyx.client.order;

import com.qsl.ssyx.model.order.OrderInfo;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-order")
public interface OrderFeignClient {

    @ApiOperation("根据orderNo（订单号）查询订单信息")
    @GetMapping("/inner/getOrderInfoByorderNo/{orderNo}")
    public OrderInfo getOrderInfoByorderNo(@ApiParam(value = "订单号", required = true) @PathVariable String orderNo);
}
